<?php $form = $this->beginWidget('CActiveForm', array(
	'id' => 'search-by-group',
	'action' => url('whm/cpanelaccount/searchresult'),
	'enableClientValidation' => true,
	'clientOptions' => array(
		'validateOnSubmit' => true,
	),
)); $form = new CActiveForm(); ?>
	<?php echo $form->dropDownList($searchForm, 'id_group', $searchForm->listGroups()/*, array('empty' => 'Select Group')*/); ?><br />
	<?php echo $form->textField($searchForm, 'conditionVal', array('placeholder' => t('info', 'Search'))); ?><br />
	<?php echo $form->dropDownList($searchForm, 'conditionField', $searchForm->listConditionFields()); ?><br />
	<label class="checkbox">
		<?php echo $form->checkBox($searchForm, 'searchRefresh'); ?>
		<?php echo t('page', 'Search fresh cPanel data.'); ?>
	</label>
	<button class="btn btn-small btn-primary" type="submit"><i class="radmin-icon radmin-search"></i>  <?php echo t('buttons', 'Search'); ?></button>
<?php $this->endWidget(); ?>